package com.mes.service.yzl;

import com.mes.entity.hpf.SalePlanDetail;
import com.mes.entity.yzl.*;
import com.mes.entity.yzlExtend.ExtendCustomerOrder;
import com.mes.entity.yzlExtend.ExtendProductor;
import com.mes.entity.yzlExtend.ExtendReceive;
import com.mes.entity.zc.CustomerDetails;

import net.sf.json.JSONArray;

import java.util.List;

public interface CustomerOrderService{

    int orderApproveds(List<Integer> list);

    int closePlan(Integer id);

    int countNew(Condition condition);

    List<CustomerOrder> listcustomerOrderNew(Condition condition);

    List<Customer> customerList();

    List<Productor> carList();

    void addCentor(ProContactOrder proContactOrder);

    List<SalePlanDetail> customerOrderXq(long id);

    ExtendCustomerOrder findOrderById(long id);

    int deleteOrder(long id);

    void deletePro(long id);

    int orderUnApproveds(List<Integer> list);

    int addCustomerOrder1(CustomerOrder customerOrder, JSONArray jsonArray) throws Exception;

    String customerOrderNumLast();

    int updateCustomerAll(CustomerOrder customerOrder, JSONArray jsonArray) throws Exception;
    
    List<CustomerOrder> listALlCustomerOrde();
    
    List<Productor> carPageList(Condition condition);
	
	int carCount();
	
	void deletePlanDetial(long id);
	
}
